orNull
Deprecated
Use the StrictlyPositiveIntOrNull function instead.
Replace with
import kotools.types.number.StrictlyPositiveIntOrNull
Content copied to clipboard
StrictlyPositiveIntOrNull(value)
Content copied to clipboard
Returns the value as a StrictlyPositiveInt, or returns null
if the value equals 0.